disp('loading default filter parameters!')

%% gabor filter
scale = .5;  % scale of Gabors, length = 17 pixels
nOrient = 17;  % number of orientations
Upperbound = 16.; % saturation value
localHalfx=round(30*scale); % halflength of local normalization area
localHalfy=round(30*scale); % halflength of local normalization area
thresholdFactor = 0.01;
gaborSaturation = 6.0;
epsilon = .1;  % allowed correlation between selected Gabors
NEGMAX=-1e10;
Lrange = 2;  % allowed shifting in location (times sub pixels)
Orange = 1; % allowed shifting in orientation

%% curves
Lrange2 = 3;  % allowed deformation in location (times sub pixels)
Orange2 = 1; % allowed deformation in orientation
Crange2 = 1; % allowed deformation in curvature
LenRange2 = 0; % allowed deformation in arc length
nLength = 6; % number of length of line segments
nAngle = 1; % number of different curvatures(should be odd number)
lambda = 2.0; % lambda, expected model coefficient
logZ = 7.6017; % logZ

%% image size
sx = 220;
sy = 300;
